package com.ly.emp.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 动态表头-DTO
 *
 * @author luoyun
 * @Date: 2023-05-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(description = "动态表头DTO")
public class DynamicTableDTO {

    /**
     * 班组编码
     */
    @NotEmpty(message = "组织编号不能为空")
    @Schema(description = "组织编号")
    private String orgCode;

    /**
     * 综合评价模板编码
     */
    @Schema(description = "模板类型")
    private String type;

    /**
     * 考核周期
     */
    @Schema(description = "考核周期")
    private String periodCode;
}
